﻿using System.Collections.Generic;
using TradeDataAPI.Entity.DomainModels;

namespace TradeDataAPI.Core.Common
{

    public class TransferPlanning
    {
        /// <summary>
        /// 派车状态
        /// </summary>
        public bool Success { get; set; }
        /// <summary>
        /// 路线id
        /// </summary>
        public int Route { get; set; }

        /// <summary>
        /// 上班时间
        /// </summary>
        public string WorkingTime { get; set; }

        /// <summary>
        /// 下班时间
        /// </summary>
        public string ClosingTime { get; set; }


        /// <summary>
        /// 名称
        /// </summary>
        public string SchedulerName { get; set; }

        /// <summary>
        /// 数据id
        /// </summary>
        public string SchedulerId { get; set; }

        /// <summary>
        /// 人员数量
        /// </summary>
        public int PeopleCount { get; set; }

        /// <summary>
        /// 车辆id
        /// </summary>
        public CarInfo Car { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 派车时段
        /// </summary>
        public string TimeDelivery { get; set; }


        /// <summary>
        /// 派车时段-对应的key
        /// </summary>
        public string TimeDeliveryKey { get; set; }

    }


    public class CarInfo
    {
        /// <summary>
        /// 荷载人数
        /// </summary>
        public int LoadNumber { get; set; }
        /// <summary>
        /// 车辆id
        /// </summary>
        public int BusId { get; set; }

        /// <summary>
        /// 车辆可用时间段
        /// </summary>
        public string AvailableTimePeriod { get; set; }


    }


    public class KeyValue<T>
    {

        public T key { get; set; }

        public string value { get; set; }

    }







    public class BusScheduler
    {
        public static List<SysDictionaryList> _DictionaryLists;

        public BusScheduler(List<SysDictionaryList> sys_Dictionaries)
        {
            _DictionaryLists = sys_Dictionaries;
        }


    }

}
